package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/PurchaseTender.class */
public class PurchaseTender implements Serializable {
    private static final long serialVersionUID = 526437835543819953L;
    private Integer id;
    private String tenderNum;
    private String applicationUnit;
    private String tenderMethod;
    private String designUnit;
    private String drawingNumber;
    private String budgetPrice;
    private String sourcesOfFunds;
    private String undertaker;
    private String unit;
    private String startTime;
    private Integer status;
    private String purchaseType;
    @ApiModelProperty("附件集合")
    private List<UploadFile> uploadFileList;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setTenderNum(String tenderNum) {
        this.tenderNum = tenderNum;
    }

    public void setApplicationUnit(String applicationUnit) {
        this.applicationUnit = applicationUnit;
    }

    public void setTenderMethod(String tenderMethod) {
        this.tenderMethod = tenderMethod;
    }

    public void setDesignUnit(String designUnit) {
        this.designUnit = designUnit;
    }

    public void setDrawingNumber(String drawingNumber) {
        this.drawingNumber = drawingNumber;
    }

    public void setBudgetPrice(String budgetPrice) {
        this.budgetPrice = budgetPrice;
    }

    public void setSourcesOfFunds(String sourcesOfFunds) {
        this.sourcesOfFunds = sourcesOfFunds;
    }

    public void setUndertaker(String undertaker) {
        this.undertaker = undertaker;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setPurchaseType(String purchaseType) {
        this.purchaseType = purchaseType;
    }

    public void setUploadFileList(List<UploadFile> uploadFileList) {
        this.uploadFileList = uploadFileList;
    }

    @Override // java.lang.Object
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof PurchaseTender)) {
            return false;
        }
        PurchaseTender other = (PurchaseTender) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$tenderNum = getTenderNum();
        Object other$tenderNum = other.getTenderNum();
        if (this$tenderNum == null) {
            if (other$tenderNum != null) {
                return false;
            }
        } else if (!this$tenderNum.equals(other$tenderNum)) {
            return false;
        }
        Object this$applicationUnit = getApplicationUnit();
        Object other$applicationUnit = other.getApplicationUnit();
        if (this$applicationUnit == null) {
            if (other$applicationUnit != null) {
                return false;
            }
        } else if (!this$applicationUnit.equals(other$applicationUnit)) {
            return false;
        }
        Object this$tenderMethod = getTenderMethod();
        Object other$tenderMethod = other.getTenderMethod();
        if (this$tenderMethod == null) {
            if (other$tenderMethod != null) {
                return false;
            }
        } else if (!this$tenderMethod.equals(other$tenderMethod)) {
            return false;
        }
        Object this$designUnit = getDesignUnit();
        Object other$designUnit = other.getDesignUnit();
        if (this$designUnit == null) {
            if (other$designUnit != null) {
                return false;
            }
        } else if (!this$designUnit.equals(other$designUnit)) {
            return false;
        }
        Object this$drawingNumber = getDrawingNumber();
        Object other$drawingNumber = other.getDrawingNumber();
        if (this$drawingNumber == null) {
            if (other$drawingNumber != null) {
                return false;
            }
        } else if (!this$drawingNumber.equals(other$drawingNumber)) {
            return false;
        }
        Object this$budgetPrice = getBudgetPrice();
        Object other$budgetPrice = other.getBudgetPrice();
        if (this$budgetPrice == null) {
            if (other$budgetPrice != null) {
                return false;
            }
        } else if (!this$budgetPrice.equals(other$budgetPrice)) {
            return false;
        }
        Object this$sourcesOfFunds = getSourcesOfFunds();
        Object other$sourcesOfFunds = other.getSourcesOfFunds();
        if (this$sourcesOfFunds == null) {
            if (other$sourcesOfFunds != null) {
                return false;
            }
        } else if (!this$sourcesOfFunds.equals(other$sourcesOfFunds)) {
            return false;
        }
        Object this$undertaker = getUndertaker();
        Object other$undertaker = other.getUndertaker();
        if (this$undertaker == null) {
            if (other$undertaker != null) {
                return false;
            }
        } else if (!this$undertaker.equals(other$undertaker)) {
            return false;
        }
        Object this$unit = getUnit();
        Object other$unit = other.getUnit();
        if (this$unit == null) {
            if (other$unit != null) {
                return false;
            }
        } else if (!this$unit.equals(other$unit)) {
            return false;
        }
        Object this$startTime = getStartTime();
        Object other$startTime = other.getStartTime();
        if (this$startTime == null) {
            if (other$startTime != null) {
                return false;
            }
        } else if (!this$startTime.equals(other$startTime)) {
            return false;
        }
        Object this$status = getStatus();
        Object other$status = other.getStatus();
        if (this$status == null) {
            if (other$status != null) {
                return false;
            }
        } else if (!this$status.equals(other$status)) {
            return false;
        }
        Object this$purchaseType = getPurchaseType();
        Object other$purchaseType = other.getPurchaseType();
        if (this$purchaseType == null) {
            if (other$purchaseType != null) {
                return false;
            }
        } else if (!this$purchaseType.equals(other$purchaseType)) {
            return false;
        }
        Object this$uploadFileList = getUploadFileList();
        Object other$uploadFileList = other.getUploadFileList();
        return this$uploadFileList == null ? other$uploadFileList == null : this$uploadFileList.equals(other$uploadFileList);
    }

    protected boolean canEqual(Object other) {
        return other instanceof PurchaseTender;
    }

    @Override // java.lang.Object
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $tenderNum = getTenderNum();
        int result2 = (result * 59) + ($tenderNum == null ? 43 : $tenderNum.hashCode());
        Object $applicationUnit = getApplicationUnit();
        int result3 = (result2 * 59) + ($applicationUnit == null ? 43 : $applicationUnit.hashCode());
        Object $tenderMethod = getTenderMethod();
        int result4 = (result3 * 59) + ($tenderMethod == null ? 43 : $tenderMethod.hashCode());
        Object $designUnit = getDesignUnit();
        int result5 = (result4 * 59) + ($designUnit == null ? 43 : $designUnit.hashCode());
        Object $drawingNumber = getDrawingNumber();
        int result6 = (result5 * 59) + ($drawingNumber == null ? 43 : $drawingNumber.hashCode());
        Object $budgetPrice = getBudgetPrice();
        int result7 = (result6 * 59) + ($budgetPrice == null ? 43 : $budgetPrice.hashCode());
        Object $sourcesOfFunds = getSourcesOfFunds();
        int result8 = (result7 * 59) + ($sourcesOfFunds == null ? 43 : $sourcesOfFunds.hashCode());
        Object $undertaker = getUndertaker();
        int result9 = (result8 * 59) + ($undertaker == null ? 43 : $undertaker.hashCode());
        Object $unit = getUnit();
        int result10 = (result9 * 59) + ($unit == null ? 43 : $unit.hashCode());
        Object $startTime = getStartTime();
        int result11 = (result10 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
        Object $status = getStatus();
        int result12 = (result11 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $purchaseType = getPurchaseType();
        int result13 = (result12 * 59) + ($purchaseType == null ? 43 : $purchaseType.hashCode());
        Object $uploadFileList = getUploadFileList();
        return (result13 * 59) + ($uploadFileList == null ? 43 : $uploadFileList.hashCode());
    }

    @Override // java.lang.Object
    public String toString() {
        return "PurchaseTender(id=" + getId() + ", tenderNum=" + getTenderNum() + ", applicationUnit=" + getApplicationUnit() + ", tenderMethod=" + getTenderMethod() + ", designUnit=" + getDesignUnit() + ", drawingNumber=" + getDrawingNumber() + ", budgetPrice=" + getBudgetPrice() + ", sourcesOfFunds=" + getSourcesOfFunds() + ", undertaker=" + getUndertaker() + ", unit=" + getUnit() + ", startTime=" + getStartTime() + ", status=" + getStatus() + ", purchaseType=" + getPurchaseType() + ", uploadFileList=" + getUploadFileList() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getTenderNum() {
        return this.tenderNum;
    }

    public String getApplicationUnit() {
        return this.applicationUnit;
    }

    public String getTenderMethod() {
        return this.tenderMethod;
    }

    public String getDesignUnit() {
        return this.designUnit;
    }

    public String getDrawingNumber() {
        return this.drawingNumber;
    }

    public String getBudgetPrice() {
        return this.budgetPrice;
    }

    public String getSourcesOfFunds() {
        return this.sourcesOfFunds;
    }

    public String getUndertaker() {
        return this.undertaker;
    }

    public String getUnit() {
        return this.unit;
    }

    public String getStartTime() {
        return this.startTime;
    }

    public Integer getStatus() {
        return this.status;
    }

    public String getPurchaseType() {
        return this.purchaseType;
    }

    public List<UploadFile> getUploadFileList() {
        return this.uploadFileList;
    }
}